@extends('layouts.admin')
@section('content')
	<style>
		.panel.layout-panel.layout-panel-center.panel-htop {
			left: unset !important;right: 0;
			}
		.panel.panel-htop.panel-last{
			width: 100% !important;
		}
		.accordion .panel-last > .accordion-body {
		    width: 100% !important;
		}
	</style>
    <script type="text/javascript" src="/js/admin/report.js"></script>
    <div id="cc" class="easyui-layout" style="width:1800px;height:100%;margin: 0 auto;">
        <div data-options="region:'west',title:'数据查询',split:true">
            <div class="easyui-accordion" style="height:300px;overflow: auto;">

            <div id='p' title="地区" data-options="iconCls:''" style="width: 100%;height: auto;">
                <ul class="easyui-tree" id="easyui-tree">
                    <li data-options="level:2">
                        <span><a style="color: #000000" href="reportlist">{{$tree['name']}}</a></span>
                        <ul>@foreach($tree['street'] as $k=>$v) 
                            <li data-options="level:3,area_id:'{{$v['id']}}'" state="closed">
                                <span> <a style="color: #000000" href="reportlistcontent?level=4&city={{$v['id']}}" target="myFrameName">{{$v['name']}}</a></span>
                                    <ul>
                                        <li>
                                        </li>
                                    </ul>
                            </li>
                            @endforeach
                        </ul>
                    </li>
                </ul>
            </div>
            </div>
        </div>
        <div data-options="region:'center',title:'数据查询'" style="overflow: hidden;">
            <iframe id="myFrameId" name="myFrameName" src="reportlistcontent" scrolling="true" frameborder="0" width="100%" height="100%">
            </iframe>
        </div>
    </div>
@endsection

